package com.smarthospital.entity.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * create by sym  2021/4/21 21:37.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description="统一下单vo" )
public class WXPrePayVO implements Serializable {
    private static final long serialVersionUID = 16161151616L;

    @ApiModelProperty(value = "商品描述\n" + "示例值：Image形象店-深圳腾大-QQ公仔")
    private String description;

    @ApiModelProperty(value = "商户系统内部订单号，只能是数字、大小写字母_-*且在同一个商户号下唯一\n" + "示例值：1217752501201407033233368018")
    private String out_trade_no;

    @ApiModelProperty(value = "附加数据，在查询API和支付通知中原样返回，可作为自定义参数使用\n" + "示例值：自定义数据 ")
    private String attach;

    @ApiModelProperty(value = "订单优惠标记\n" + "示例值：WXG")
    private String goods_tag;

    @ApiModelProperty(value = "交易结束时间 _前端无需传参")
    private Date time_expire;

    @ApiModelProperty(value = "通知地址 _前端无需传参")
    private String notify_url;

    @ApiModelProperty(value = "订单金额信息 @see WXAmountVO")
    private WXAmountVO amount;

    @ApiModelProperty(value = "支付者信息 _前端无需传参 @see WXPayerVO")
    private WXPayerVO payer;

    @ApiModelProperty(value = "优惠功能 @see WXGoodsDetailVO  WXDetailVO")
    private WXDetailVO detail;

    @ApiModelProperty(value = "场景信息 @see WXSceneInfoVO")
    private WXSceneInfoVO scene_info;
}
